-
Notifications
You must be signed in to change notification settings - Fork 619
ignore invalid module search param in deploy page #5396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignore invalid module search param in deploy page #5396
Conversation
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
Merge activity
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5396 +/- ##
=======================================
Coverage 45.33% 45.33%
=======================================
Files 1067 1067
Lines 55405 55405
Branches 4015 4015
=======================================
Hits 25116 25116
Misses 29602 29602
Partials 687 687
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
...d/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/[version]/deploy/page.tsx
Outdated
Show resolved
Hide resolved
79ad1f2 to
6ecee85
Compare
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating the handling of the `module` parameter in the `searchParams` to support both an array and a string. It ensures that the code correctly processes the `module` regardless of its type.
### Detailed summary
- Updated `module` type in `searchParams` to allow both `string[]` and `string`.
- Modified the logic to handle `searchParams.module` as a string or an array.
- Ensured that `modules` is derived correctly from `moduleParam`, defaulting to an empty array if no valid modules are found.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
6ecee85 to
f31801e
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on updating the handling of the
modulesearch parameter in two components, allowing it to accept either an array or a single string. This change simplifies the logic for processing themoduleparameter and ensures consistent behavior.Detailed summary
moduleinsearchParamsto acceptstring[] | string.searchParams.module:modulesis initialized to an empty array if no valid modules are found.